<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<body>
<div id="content">
    <ul>

           <table class="table">
               <tr>
               <th>Client id</th>
               <th>Link type id</th>
               <th>Status</th>
               <th>Contact person name</th>
               <th>     </th>
               <th>     </th>
               </tr>
               <c:forEach var="linkclient" items="${linkclients}">
               <tr>
               <td><a href="${pageContext.request.contextPath}/client/${linkclient.target_client_id}/linkedclient/${linkclient.id}/view.do">${linkclient.target_client_id}</a></td>
               <td>${linkclient.link_type_id}</td>
               <td>${linkclient.status}</td>
               <td>${linkclient.contact_person_name}</td>
               <td><a href="${pageContext.request.contextPath}/client/${linkclient.target_client_id}/linkedclient/${linkclient.id}/edit.do">Update</a></td>
               <td><a href="${pageContext.request.contextPath}/client/${linkclient.target_client_id}/linkedclient/${linkclient.id}/delete.do">Delete</a></td>
               </tr>
               </c:forEach>
           </table>
    </ul>
    <li><a href="0/edit.do"><i class="icon-pencil"></i> Create LinkContact</a></li>

</div>
</body>
</html>